#pragma once

#include <thread>

namespace net
{
	class Server
	{
	private:
		bool _isRunning = false;
		std::thread* _thread = nullptr;
		void Run();

	public:
		Server();
		~Server();

		bool isRunning() { return _thread != __nullptr; }
	};
}